/**   
 * @Title: BeidanLotteryInfo.java 
 * @Package com.esun.model.beijingdanchang
 * @Description:  北单投注相关信息
 * @author: Kael gaojian@500wan.com
 * @date: 2012-5-2 上午11:09:12 
 * Copyright: (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.model.beijingdanchang;

import java.util.ArrayList;
import java.util.Hashtable;

import com.esun.config.Key;


/** 
* @ClassName: BeidanLotteryInfo 
* @Description: 北单投注相关信息
* @author: Kael gaojian@500wan.com
* @date: 2012-5-2 上午11:09:12 
*  
*/
public class BeidanLotteryInfo {
	private static BeidanLotteryInfo beiDanLotteryInfo = null;

	public static BeidanLotteryInfo getBeiDanLotteryInfo() {
		if (beiDanLotteryInfo == null) {
			return beiDanLotteryInfo = new BeidanLotteryInfo();
		} else {
			return beiDanLotteryInfo;
		}
	}

	private int activeTeamCount;

	public int getActiveTeamCount() {
		activeTeamCount = 0;
		for (int i = 0; i < lotterList.size(); i++) {
			if ((Boolean) lotterList.get(i).get(Key.KEY_IS_ACTIVE)) {
				activeTeamCount++;
			}
		}
		return activeTeamCount;
	}

	private int danItemTeamCount;

	public int getDanItemTeamCount() {
		danItemTeamCount = 0;
		for (int i = 0; i < lotterList.size(); i++) {
			if ((Boolean) lotterList.get(i).get(Key.KEY_IS_DAN)) {
				danItemTeamCount++;
			}
		}
		return danItemTeamCount;
	}
	private ArrayList<Hashtable<String, Object>> lotterList = new ArrayList<Hashtable<String, Object>>();
	//全部赛事对阵列表
	private ArrayList<Hashtable<String, Object>> allLeagueList = new ArrayList<Hashtable<String, Object>>();
	//热点赛事对阵列表
	private ArrayList<Hashtable<String, Object>> beidanhotLeagueList = new ArrayList<Hashtable<String, Object>>();

	public ArrayList<Hashtable<String, Object>> getAllLeagueList() {
		return allLeagueList;
	}

	public ArrayList<Hashtable<String, Object>> getBeiDanHotLeagueList() {
		return beidanhotLeagueList;
	}

	public ArrayList<Hashtable<String, Object>> getLotterList() {
		return lotterList;
	}

	private ArrayList<Hashtable<String, Object>> simpleLeagueList = new ArrayList<Hashtable<String, Object>>();

	public ArrayList<Hashtable<String, Object>> getSimpleLeagueList() {
		return simpleLeagueList;
	}

	private int multiple;//倍数
	private int zhushuCount;//注数
	private int guoguanType;//过关类型
	private String codes;//投注内容
	private String sgType;//过关方式
	private String danma;//胆码
	private String expect;//期号
	private String sgtypename;//过关类型名称
	

	public int getMultiple() {
		return multiple;
	}

	public void setMultiple(int multiple) {
		this.multiple = multiple;
	}

	public int getZhushuCount() {
		return zhushuCount;
	}

	public void setZhushuCount(int zhushuCount) {
		this.zhushuCount = zhushuCount;
	}

	public int getGuoguanType() {
		return guoguanType;
	}

	public void setGuoguanType(int guoguanType) {
		this.guoguanType = guoguanType;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getSgType() {
		return sgType;
	}

	public void setSgType(String sgType) {
		this.sgType = sgType;
	}

	public String getDanma() {
		return danma;
	}

	public void setDanma(String danma) {
		this.danma = danma;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	public String getSgtypename() {
		return sgtypename;
	}

	public void setSgtypename(String sgtypename) {
		this.sgtypename = sgtypename;
	}
	
	
	

	
	
}
